// ==UserScript==
// @name           Wykop nie dla ślepych
// @version        1.0.1
// @author         XcccX
// @description    Wykop nie dla ślepych
// @include        http://*.wykop.pl/*
// @run-at         document-body
// @updateURL      https://wypok.googlecode.com/svn/make.things.small.user.js
// @downloadURL      https://wypok.googlecode.com/svn/make.things.small.user.js
// ==/UserScript==

var css = '#itemsStream li div.row.elements.actions { position: absolute; bottom: 5px; right: 10px; }'
		+ '#itemsStream li:hover div.row.elements.actions a { background: #2c2c2c; padding: 2px;}'
		+ '#itemsStream > li > div > div > div.row.elements.actions { bottom: 0; }'
		+ '#itemsStream li div.text { margin-bottom: 0; min-height: 28px; }'
		+ '#itemsStream li .wblock { padding-top: 5px; padding-bottom: 5px; }'
		+ '#itemsStream ul.sub li .wblock { padding-top: 10px; padding-bottom: 5px; }'

		+ '#itemsStream li.entry { margin-bottom: 5px;}'
		+ 'ul.comments-stream li { margin-bottom: 5px; }'
		+ '#itemsStream li .author p { top: 5px;}'
		+ '#itemsStream li > div > div.lcontrast.m-reset-margin > div.description > p { font-size: 13px; font-size: 1.3rem; line-height: 17px; line-height: 1.7rem;}'
		+ '#site div.text p { font-size: 13px; font-size: 1.3rem; line-height: 17px; line-height: 1.7rem;}'

		+ '#itemsStream li .show-more { white-space: nowrap;}'
		+ '#itemsStream li.link { margin-bottom: 5px;}'
		+ '#itemsStream li.link .article { padding-top: 5px; padding-bottom: 5px;}'
		+ '#itemsStream li.link div div.media-content a img { width: 160px; height: auto; }'
        + '#itemsStream li.link > div > div.lcontrast.m-reset-margin { margin-left: 178px; }'
    
    head = document.head || document.getElementsByTagName('head')[0],
    style = document.createElement('style');



style.type = 'text/css';
if (style.styleSheet){
  style.styleSheet.cssText = css;
} else {
  style.appendChild(document.createTextNode(css));
}

head.appendChild(style);

console.log('+ Załadowano wykop nie dla ślepych');